|
CryptoPro JTLS. Public API. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectjavax.net.SocketFactory
javax.net.ssl.SSLSocketFactory
ru.CryptoPro.ssl.SSLTCSocketFactory
public abstract class SSLTCSocketFactory
SSLTCSocketFactorys create SSLTCSockets.
SSLTCSocket| Constructor Summary | |
|---|---|
SSLTCSocketFactory()
|
|
| Method Summary | |
|---|---|
abstract java.net.Socket |
createSocket(java.net.Socket s,
java.lang.String host,
int port,
boolean autoClose)
Returns a socket layered over an existing socket connected to the named host, at the given port. |
static javax.net.SocketFactory |
getDefault()
Returns the default SSL socket factory. |
abstract java.lang.String[] |
getDefaultCipherSuites()
Returns the list of cipher suites which are enabled by default. |
abstract java.lang.String[] |
getSupportedCipherSuites()
Returns the names of the cipher suites which could be enabled for use on an SSL connection. |
| Methods inherited from class javax.net.SocketFactory |
|---|
createSocket, createSocket, createSocket, createSocket, createSocket |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SSLTCSocketFactory()
| Method Detail |
|---|
public static javax.net.SocketFactory getDefault()
If SSL has not been configured properly for this virtual machine, the factory will be inoperative (reporting instantiation exceptions).
SocketFactorypublic abstract java.lang.String[] getDefaultCipherSuites()
getDefaultCipherSuites in class javax.net.ssl.SSLSocketFactorygetSupportedCipherSuites()public abstract java.lang.String[] getSupportedCipherSuites()
getSupportedCipherSuites in class javax.net.ssl.SSLSocketFactorygetDefaultCipherSuites()
public abstract java.net.Socket createSocket(java.net.Socket s,
java.lang.String host,
int port,
boolean autoClose)
throws java.io.IOException
createSocket in class javax.net.ssl.SSLSocketFactorys - the existing sockethost - the server hostport - the server portautoClose - close the underlying socket when this socket is closed
java.io.IOException - if an I/O error occurs when creating the socket
java.net.UnknownHostException - if the host is not known
|
Copyright Crypto-Pro. All rights reserved. |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||